package com.lcq.practice.springboot.universal.demo.test_springboot_mybatis;

import com.lcq.practice.springboot.universal.demo.commmon.UserPo;
import com.lcq.practice.springboot.universal.demo.test_springboot_mybatis.mapper.UserBootMapper;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

import javax.annotation.Resource;

/**
 * @ClassName SpringBootMybatis
 * @Description
 * @Author lichuanqi
 * @Date 2022/2/11 15:47
 * @Version 1.0
 **/
@SpringBootTest
public class SpringBootMybatisTest {
    @Resource
    private UserBootMapper userBootMapper;

    @Test
    public void test(){
        UserPo userPo = userBootMapper.selectUser("1");
        System.out.println(userPo);
    }
}
